<template>
  <div class="index">
    <nav-header></nav-header>
    <div class="contentK">
      <div class="menu" v-if="this.$store.state.whichModule === 0">
        <menu-list></menu-list>
        <!-- 作业管理模块的目录 -->
      </div>
      <div class="content">
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>

<script>
import navHeader from '../components/navHeaderS';
import menuList from '../components/menuS';

export default {
  name: 'index',
  components: {
    navHeader,
    menuList,
  },
  data() {
    return {
      showPage: '',
    };
  },
  methods: {},
};
</script>

<style lang="scss">
.index {
  .contentK {
    display: flex;
    .menu {
      height: calc(100vh - 65px);
      width: 256px;
      background-color: rgba(204, 204, 204, 0.096);
    }
    .content {
      flex: 1;
    }
  }
}
</style>
